AudioTrack

open class AudioTrack : Track

Represents an audio track.

Constructors

AudioTrack
Link copied to clipboard
fun AudioTrack(url: String?, label: String? = null, id: String = UUID.randomUUID().toString(), isDefault: Boolean = false, language: String? = null, roles: List<MediaTrackRole> = emptyList())

Types

Companion
Link copied to clipboard
object Companion

Properties

language
Link copied to clipboard
@SerializedName(value = lang)
val language: String?
The language of the AudioTrack.

Inherited properties

id
Link copied to clipboard
val id: String
The ID of the Track.
isDefault
Link copied to clipboard
val isDefault: Boolean = false
Specifies whether the Track is a default Track.
label
Link copied to clipboard
val label: String? = null
The label of the Track.
roles
Link copied to clipboard
val roles: List<MediaTrackRole>
Specifies all the DASH roles that are associated with the Track.
type
Link copied to clipboard
val type: TrackType?
The TrackType of the Track.
url
Link copied to clipboard
val url: String?
The URL of the Track.

Functions

writeToParcel
Link copied to clipboard
open override fun writeToParcel(parcel: Parcel, flags: Int)

Inherited functions

describeContents
Link copied to clipboard
open override fun describeContents(): Int